package cn.tedu.project.oa.sys.department.service;



import cn.tedu.project.oa.sys.department.pojo.dto.AddDepartPara;
import cn.tedu.project.oa.sys.department.pojo.dto.EditDepartPara;
import cn.tedu.project.oa.sys.department.pojo.dto.QueryDepartPara;
import cn.tedu.project.oa.sys.department.pojo.vo.DepartmentVO;

import java.util.List;

public interface DeptService {
    //添加部门
    void addDepartment(AddDepartPara addDepartPara);

    //删除部门
    void deleteDepartment(Long deptId);

    //编辑部门
    void EditDepartment(EditDepartPara editDepartPara);

    //获取部门列表
    List<DepartmentVO> getDepartmentList(QueryDepartPara queryDepartPara);

    //获取子部门
    List<DepartmentVO> getDepartmentChildren(Long deptId);

    int count();
}
